package com.sky.service;

import com.sky.dto.common.PageRequest;
import com.sky.dto.common.ParamsID;
import com.sky.dto.common.QueryParams;
import com.sky.entity.CompetionCategory;
import com.sky.result.PageResult;
import com.sky.vo.CompetionCategoryVO;

import java.util.List;

public interface CompetitionCategoryService {
    PageResult getAllCompetitionCategoryList(PageRequest<QueryParams> queryParams);

    void addCompetitionCategory(CompetionCategoryVO competionCategoryVO);

    void deleteCompetitionCategory(ParamsID paramsID);

    CompetionCategoryVO getCompetitionCategoryDetail(String id);

    void updateCompetitionCategory(CompetionCategoryVO competionCategoryVO);

    /**
     * 获取所有竞赛类别
     * @param queryParams 通用查询参数
     * @return
     */
    List<CompetionCategory> getAllCompetitionCategory(QueryParams queryParams);
}
